import Vuex from 'vuex'
import Vue from 'vue'
import actions from './actions'
import state from './state'
import mutations from './mutations'
import getters from './getters'
import Storage from '../utils/storage'

Vue.use(Vuex)
Vue.component(Storage)

const store = new Vuex.Store({
  actions,
  state,
  mutations,
  getters
})
export default store
